import Vue from 'vue'
import Vuex from 'vuex'

import d2admin from './modules/d2admin'
import user from '@/views/user/store'
import taskClassify from '@/views/task-classify/store'
import banner from '@/views/banner/store'
import taskCycle from '@/views/task-cycle/store'
import withdraw from '@/views/withdraw/store'
import setting from '@/views/setting/store'
import bill from '@/views/bill/store'
import leaderboard from '@/views/leaderboard/store'
import task from '@/views/task/store'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    d2admin,
    user,
    'task-classify': taskClassify,
    banner,
    'task-cycle': taskCycle,
    withdraw,
    setting,
    bill,
    leaderboard,
    task
  }
})
